﻿<phone:PhoneApplicationPage
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" xmlns:ec="clr-namespace:Microsoft.Expression.Interactivity.Core;assembly=Microsoft.Expression.Interactions" 
    x:Class="Day1.MainPage"
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    shell:SystemTray.IsVisible="True">

	<StackPanel x:Name="LayoutRoot">
		<Button x:Name="bnt01" 
			Content="Clik Me!"
			Click="bnt01_Click" Margin="1,0,-1,0"
                />
		<Button x:Name="bntShowMaboy"
			Content="Show Maboy"
			Click="bntShowMaboy_Click"
                />
		<Button x:Name="bntShowFavImage"
			Content="Show Image"
			Click="bntShowFavImage_Click"
                />
		<Button x:Name="bntShowMyUtility"
			Content="My Utility"
			Click="bntShowMyUtility_Click"
                />
		<Button x:Name="bntDemoGrid"
			Content="Demo Grid"
			Click="bntDemoGrid_Click"
                />
		<Button x:Name="bntDemoStackPanel"
			Content="Demo StackPanel"
			Click="bntDemoStackPanel_Click"
                />
		<Button x:Name="bntDemoCanvas"
			Content="Demo Canvas"
			Click="bntDemoCanvas_Click"
                />
		<Button x:Name="bntDemoScrollViewer" Content="Demo ScrollViewer">
			<i:Interaction.Triggers>
				<i:EventTrigger EventName="Click">
					<ec:NavigateToPageAction TargetPage="/DemoScrollViewer.xaml"/>
				</i:EventTrigger>
			</i:Interaction.Triggers>
		</Button>
		<Button x:Name="bntDemoColor" Content="Demo Color">
			<i:Interaction.Triggers>
				<i:EventTrigger EventName="Click">
					<ec:NavigateToPageAction TargetPage="/DemoColor.xaml"/>
				</i:EventTrigger>
			</i:Interaction.Triggers>
		</Button>
		<Button x:Name="bntShowBubblePop" Content="Show Bubble Pop">
			<i:Interaction.Triggers>
				<i:EventTrigger EventName="Click">
					<ec:NavigateToPageAction TargetPage="/ShowBublePop.xaml"/>
				</i:EventTrigger>
			</i:Interaction.Triggers>
		</Button>
		<Button x:Name="bntWhereAmI" Content="Where am i?">
			<i:Interaction.Triggers>
				<i:EventTrigger EventName="Click">
					<ec:NavigateToPageAction TargetPage="/WhereAmI.xaml"/>
				</i:EventTrigger>
			</i:Interaction.Triggers>
		</Button>
	</StackPanel>

</phone:PhoneApplicationPage>